package com.xms.queryview.api.model;

import com.xms.sdk.core.query.FilterExpression;
import com.xms.web.framework.model.PageParamsModel;

import java.util.UUID;

/**
 * <p>
 * DataListModel
 * </p>
 *
 * @author migo
 * @since 2021/9/21
 */
public class DataListModel extends PageParamsModel {

    public UUID EntityId;
    public UUID QueryViewId;
    public String EntityName;
    public String RelationShipName;
    public UUID TargetFormId;
    public String Theme;

    public boolean IsShowButtons = true;

    public boolean IsEnabledFilter = true;

    public boolean IsEnabledFastSearch = true;

    public boolean IsEnabledViewSelector = true;
    public boolean PagingEnabled = true;

    public boolean OnlyData = false;
    public boolean IsShowChart = true;
    public int DefaultEmptyRows = 5;

    public boolean IncludeIndex;

    public String ExportTitle;

    public int ExportType;
    public String Q;
    public String QField;
    public FilterExpression Filter;

    public String GridId;
    public boolean IsEditable;
    public UUID ReferencedRecordId;
}
